﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BlazorApp派单.dbmodel
{
    ///<summary>
    ///合同明细表分拆记录
    ///</summary>
    [SugarTable("Bus_合同分拆")]
    public partial class Bus_合同分拆
    {
           public Bus_合同分拆(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public Guid guid {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 单据类型 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 工期类型 {get;set;}

           /// <summary>
           /// Desc:派工组号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? 分拆组号 {get;set;}

           /// <summary>
           /// Desc:派工次序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? 分拆次序 {get;set;}

           /// <summary>
           /// Desc:派工编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 分拆编号 {get;set;}

           /// <summary>
           /// Desc:派工类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 分拆类型 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 项目经理 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 总包合同项目名称 {get;set;}

           /// <summary>
           /// Desc:总包合同编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 总包合同编号 {get;set;}

           /// <summary>
           /// Desc:总包合同ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? 总包合同ID {get;set;}

           /// <summary>
           /// Desc:任务行号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? 项目任务行号 {get;set;}

           /// <summary>
           /// Desc:任务明细ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? 项目任务明细ID {get;set;}

           /// <summary>
           /// Desc:任务明细名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 项目任务明细名称 {get;set;}

           /// <summary>
           /// Desc:总包明细规格
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 项目任务明细规格 {get;set;}

           /// <summary>
           /// Desc:总包明细型号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 项目任务明细型号 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 项目任务明细含税单价 {get;set;}

           /// <summary>
           /// Desc:本次派工数量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 本次派工数量 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 任务名称 {get;set;}

           /// <summary>
           /// Desc:单位
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 单位 {get;set;}

           /// <summary>
           /// Desc:定额编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 定额编号 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 定额类型 {get;set;}

           /// <summary>
           /// Desc:定额名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 定额名称 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 定额单价 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? 班组id {get;set;}

           /// <summary>
           /// Desc:班组
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 班组 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? 人员id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 人员姓名 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? 外包ID {get;set;}

           /// <summary>
           /// Desc:外包明细ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? 外包明细ID {get;set;}

           /// <summary>
           /// Desc:外包明细名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 外包明细名称 {get;set;}

           /// <summary>
           /// Desc:外包明细规格
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 外包明细规格 {get;set;}

           /// <summary>
           /// Desc:外包明细型号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 外包明细型号 {get;set;}

           /// <summary>
           /// Desc:外包明细单位
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 外包明细单位 {get;set;}

           /// <summary>
           /// Desc:外包含税单价
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 外包含税单价 {get;set;}

           /// <summary>
           /// Desc:外包含税金额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 外包含税金额 {get;set;}

           /// <summary>
           /// Desc:外包合同备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 外包合同备注 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? 分拆状态值 {get;set;}

           /// <summary>
           /// Desc:派工状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 分拆状态 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 作业地点 {get;set;}

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        [Required]
        public DateTime? 工作开始时间 {get;set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        [Required]
        public DateTime? 工作结束时间 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 交代事项 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 最近报工时间 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Properties {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateDate {get;set;}

           /// <summary>
           /// Desc:创建用户ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? CreateID {get;set;}

           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Creator {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ModifyDate {get;set;}

           /// <summary>
           /// Desc:修改人ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ModifyID {get;set;}

           /// <summary>
           /// Desc:修改人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Modifier {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 结算类型 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 结算周期 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 结算金额 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 结算开始日期 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? 结算结束日期 {get;set;}

    }
}
